import { http } from './request/http';

//获取首页产品列表
export const getIndexProductList = (params) =>
  http.get( '/index/product_list', { ...params });

//获取首页产品列表
export const getProductList = (params) =>
  http.get( '/product/list', { ...params });


//获取首页产品列表
export const getTagListAllApi = (params) =>
  http.get( '/tag/list_all', { ...params });

//获取首页产品列表
export const getProductDetailApi = (params) =>
  http.get( '/product/detail', { ...params });



//获取首页产品列表
export const joinCartApi = (params) =>
  http.post( '/shopping_cart/add', { ...params });

//获取产品图标
export const iconAllApi = (params) =>
  http.get( '/icon/list_all', { ...params });